.class public Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;
.super Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;
.source "MessagesActivity.java"


# instance fields
.field private emptyTextView:Landroid/widget/TextView;

.field private mAdapter:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

.field private mCurrentPage:I

.field private mEmptyView:Landroid/view/View;

.field private mHasNext:Z

.field private mIsRequesting:Z

.field private mListView:Landroid/widget/ListView;

.field private mMessages:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/userinfo/model/MessageModel;",
            ">;"
        }
    .end annotation
.end field

.field private mPullToRefreshListView:Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

.field private mRequest:Lcom/brixd/niceapp/service/restful/UserRestfulRequest;

.field private mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

.field private mUserModel:Lcom/brixd/niceapp/model/UserModel;


# direct methods
.method public constructor <init>()V
    .registers 3

    .prologue
    const/4 v1, 0x1

    .line 46
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;-><init>()V

    .line 57
    iput v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    .line 58
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mIsRequesting:Z

    iput-boolean v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHasNext:Z

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Lcom/brixd/niceapp/model/UserModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Lcom/handmark/pulltorefresh/library/PullToRefreshListView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mPullToRefreshListView:Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    return-object v0
.end method

.method static synthetic access$1000(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1100(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1202(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 46
    iput-boolean p1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mIsRequesting:Z

    return p1
.end method

.method static synthetic access$1300(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mAdapter:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    return-object v0
.end method

.method static synthetic access$1400(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->emptyTextView:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$1500(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    return v0
.end method

.method static synthetic access$202(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;
    .param p1, "x1"    # I

    .prologue
    .line 46
    iput p1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    return p1
.end method

.method static synthetic access$208(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    return v0
.end method

.method static synthetic access$210(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    add-int/lit8 v1, v0, -0x1

    iput v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    return v0
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->fetchData()V

    return-void
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHasNext:Z

    return v0
.end method

.method static synthetic access$402(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 46
    iput-boolean p1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHasNext:Z

    return p1
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/os/Handler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mMessages:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$602(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;
    .param p1, "x1"    # Ljava/util/ArrayList;

    .prologue
    .line 46
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mMessages:Ljava/util/ArrayList;

    return-object p1
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$800(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$900(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 46
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method private fetchData()V
    .registers 10

    .prologue
    .line 205
    iget-boolean v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mIsRequesting:Z

    if-eqz v1, :cond_5

    .line 252
    :goto_4
    return-void

    .line 208
    :cond_5
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mIsRequesting:Z

    .line 211
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-static {v1}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v0

    .line 212
    .local v0, "token":Lcom/brixd/niceapp/model/Token;
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mRequest:Lcom/brixd/niceapp/service/restful/UserRestfulRequest;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/Token;->getTimestamp()J

    move-result-wide v2

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/Token;->getUid()I

    move-result v4

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/Token;->getSecr()Ljava/lang/String;

    move-result-object v5

    iget v6, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I

    const/16 v7, 0x14

    new-instance v8, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$6;

    invoke-direct {v8, p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$6;-><init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    invoke-interface/range {v1 .. v8}, Lcom/brixd/niceapp/service/restful/UserRestfulRequest;->listAllMsgs(JILjava/lang/String;IILretrofit/Callback;)V

    goto :goto_4
.end method

.method private initData()V
    .registers 3

    .prologue
    .line 92
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "Messages"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mMessages:Ljava/util/ArrayList;

    .line 93
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mMessages:Ljava/util/ArrayList;

    if-nez v0, :cond_19

    .line 94
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mMessages:Ljava/util/ArrayList;

    .line 97
    :cond_19
    new-instance v0, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    .line 98
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;->setScrollToUpUsers(Z)V

    .line 100
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v0

    const-class v1, Lcom/brixd/niceapp/service/restful/UserRestfulRequest;

    invoke-virtual {v0, v1}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/service/restful/UserRestfulRequest;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mRequest:Lcom/brixd/niceapp/service/restful/UserRestfulRequest;

    .line 102
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 103
    return-void
.end method

.method private initWidgets()V
    .registers 4

    .prologue
    .line 106
    const v0, 0x7f0200b2

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->setBackIcon(I)V

    .line 107
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->setCommitBtnVisibility(I)V

    .line 108
    const v0, 0x7f0c00a2

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->setTopTitle(Ljava/lang/String;)V

    .line 110
    const v0, 0x7f0a002b

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mPullToRefreshListView:Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    .line 111
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mPullToRefreshListView:Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    invoke-virtual {v0}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->getRefreshableView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mListView:Landroid/widget/ListView;

    .line 112
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mListView:Landroid/widget/ListView;

    const v1, 0x7f02026a

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setSelector(I)V

    .line 114
    new-instance v0, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mMessages:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mAdapter:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    .line 115
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mPullToRefreshListView:Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mAdapter:Lcom/brixd/niceapp/userinfo/adapter/MessageAdapter;

    invoke-virtual {v0, v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 117
    const v0, 0x7f0a0049

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mEmptyView:Landroid/view/View;

    .line 118
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mPullToRefreshListView:Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mEmptyView:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->setEmptyView(Landroid/view/View;)V

    .line 119
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mEmptyView:Landroid/view/View;

    const v1, 0x7f0a00d9

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->emptyTextView:Landroid/widget/TextView;

    .line 120
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->emptyTextView:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f080047

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 122
    invoke-static {}, Lcom/zuiapps/suite/utils/device/DeviceUtil;->isMeizu()Z

    move-result v0

    if-nez v0, :cond_7b

    .line 123
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mListView:Landroid/widget/ListView;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOverScrollMode(I)V

    .line 125
    :cond_7b
    return-void
.end method

.method private initWidgetsActions()V
    .registers 3

    .prologue
    .line 128
    new-instance v0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$3;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$3;-><init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->setOnBackClickListener(Landroid/view/View$OnClickListener;)V

    .line 136
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mPullToRefreshListView:Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;-><init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    invoke-virtual {v0, v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->setOnRefreshListener(Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener2;)V

    .line 165
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mListView:Landroid/widget/ListView;

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$5;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$5;-><init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 202
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .registers 6
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 64
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 65
    const v0, 0x7f030013

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->setContentView(I)V

    .line 67
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->initData()V

    .line 68
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->initWidgets()V

    .line 69
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->initWidgetsActions()V

    .line 71
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v0, :cond_22

    .line 72
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$1;-><init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    const-wide/16 v2, 0x12c

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 81
    :cond_22
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$2;-><init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 88
    return-void
.end method
